/**
 * Created by guoqs on 2018/5/14.
 */
import fetch from 'fetch'

export default {
  studentInfo (params) {
    return fetch({
      url: '/v1/user/train/student',
      params
    })
  },
  findStudent (params) {
    return fetch({
      url: '/v1/user/train/findStudent',
      params
    })
  },
  getLastScore (params) {
    return fetch({
      url: '/v1/user/train/test/getLastScore',
      params
    })
  },
  findClassRoomByStudId (params) {
    return fetch({
      url: '/v1/user/train/findClassRoomByStudId',
      params
    })
  },
  findUnreadCount (params) {
    return fetch({
      url: '/v1/user/train/comment/findUnreadCount',
      params
    })
  },
  studentTestScoreRadarChart (params) {
    return fetch({
      url: '/v1/user/train/test/studentTestScoreRadarChart',
      params
    })
  },
  studentBodyDataLatest (params) {
    return fetch({
      url: '/v1/user/train/studentBodyData/latest',
      params
    })
  },
  studentBodyDataEchart (params) {
    return fetch({
      url: '/v1/user/train/studentBodyData/list',
      params
    })
  },
  getStudentLastAbilityScore (params) {
    return fetch({
      url: '/v1/user/train/test/getStudentLastAbilityScore',
      params
    })
  },
  getAgeDicts () {
    return fetch({
      url: '/v1/train/base/getAgeDicts'
    })
  },
  getLastScoreGroup (params) {
    return fetch({
      url: '/v1/user/train/test/getLastScoreGroup',
      params
    })
  },
  standard (params) {
    return fetch({
      url: '/v1/user/train/test/standard',
      params
    })
  },
  studentTestScoreLineChart (params) {
    return fetch({
      url: '/v1/user/train/test/studentTestScoreLineChart',
      params
    })
  },
  getStudentScoreByMethodId (params) {
    return fetch({
      url: '/v1/user/train/test/getStudentScoreByMethodId',
      params
    })
  },
  studentTestScoreDetail (params) {
    return fetch({
      url: '/v1/user/train/test/studentTestScoreDetail',
      params
    })
  },
  itemScoreRuleInfo (params) {
    return fetch({
      url: '/v1/user/train/test/itemScoreRuleInfo',
      params
    })
  },
  studentTestAbilityScoreChartByPage (params) {
    return fetch({
      url: '/v1/user/train/test/studentTestAbilityScoreChartByPage',
      params
    })
  },
  studentTestAbilityScoreListByPage (params) {
    return fetch({
      url: '/v1/user/train/test/studentTestAbilityScoreListByPage',
      params
    })
  },
  classTeacherInfo (params) {
    return fetch({
      url: '/v1/train/teach/info/trainCourseTeacherInfoByClassId',
      params
    })
  }
}
